﻿using Senparc.NeuChar.Entities;
using Senparc.Weixin.MP.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Core.Web.CustomMessageHandler
{
    public partial class CustomMessageHandler
    {

        /// <summary>
        /// 订阅（关注）事件
        /// </summary>
        /// <returns></returns>
        public override IResponseMessageBase OnEvent_SubscribeRequest(RequestMessageEvent_Subscribe requestMessage)
        {
            var responseMessage = base.CreateResponseMessage<ResponseMessageNews>();

            responseMessage.Articles.Add(new Article()
            {
                Title = "瑞影汇公众号",
                Description = "欢迎关注瑞影汇公众号！",
            });
            return responseMessage;
        }


    }
}
